import { createApp } from 'vue'

import { Pinia } from './store'

import router from './router/index.js'

import App from './views/index.vue'   

import Vant, 
{   Toast ,
    Loading,
    NavBar,
    Icon,
    Tabbar,
    Swipe,SwipeItem,
    Tab,Tabs ,
    Cell,CellGroup,
} from 'vant'
import 'vant/lib/index.css'
/** 引入自定义的全局样式 */
import './style/index.less'
import Layout from './common/layout.vue'
const app = createApp(App)

app.use(router)

app.use(Vant)

app.use(Pinia)

app.component('Layout',Layout)

app.mount('#app')
  
